package com.kingdee.eas.custom.wg.basedata;

import com.kingdee.bos.dao.AbstractObjectCollection;
import com.kingdee.bos.dao.IObjectPK;

public class PurchaseWayCollection extends AbstractObjectCollection 
{
    public PurchaseWayCollection()
    {
        super(PurchaseWayInfo.class);
    }
    public boolean add(PurchaseWayInfo item)
    {
        return addObject(item);
    }
    public boolean addCollection(PurchaseWayCollection item)
    {
        return addObjectCollection(item);
    }
    public boolean remove(PurchaseWayInfo item)
    {
        return removeObject(item);
    }
    public PurchaseWayInfo get(int index)
    {
        return(PurchaseWayInfo)getObject(index);
    }
    public PurchaseWayInfo get(Object key)
    {
        return(PurchaseWayInfo)getObject(key);
    }
    public void set(int index, PurchaseWayInfo item)
    {
        setObject(index, item);
    }
    public boolean contains(PurchaseWayInfo item)
    {
        return containsObject(item);
    }
    public boolean contains(Object key)
    {
        return containsKey(key);
    }
    public int indexOf(PurchaseWayInfo item)
    {
        return super.indexOf(item);
    }
}